<%--
  Created by IntelliJ IDEA.
  User: Tate
  Date: 2023/3/11
  Time: 9:20
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Title</title>
</head>
<body>

<h2 class="company_job_h2">在招职位</h2>
<c:forEach items="${pageInfo.list}" var="v" varStatus="vs">
    <div class="company_job_msg" onclick="jobMsg(${v.id})">
        <div class="company_job_msg_left">
            <p>${v.name}</p>
            <p><span>${v.minMoney}k-${v.maxMoney}k</span><span><c:choose>
                <c:when test="${v.needWorktime==0}">
                    不限
                </c:when>
                <c:when test="${v.needWorktime==1}">
                    应届
                </c:when>
                <c:when test="${v.needWorktime==2}">
                    一年以内
                </c:when>
                <c:when test="${v.needWorktime==3}">
                    一到三年
                </c:when>
                <c:when test="${v.needWorktime==4}">
                    三年到五年
                </c:when>
                <c:when test="${v.needWorktime==5}">
                    五年以上
                </c:when>
            </c:choose>
                </span><span><c:choose>
                <c:when test="${v.needSchoollevel==0}">
                    大专以下
                </c:when>
                <c:when test="${v.needSchoollevel==1}">
                    大专
                </c:when>
                <c:when test="${v.needSchoollevel==2}">
                    本科
                </c:when>
                <c:when test="${v.needSchoollevel==3}">
                    硕士
                </c:when>
                <c:when test="${v.needSchoollevel==4}">
                    博士及以上
                </c:when>
            </c:choose></span></p>
        </div>
        <div class="company_job_msg_right">
            <p><span><c:forEach items="${hrs}" var="hr">
                <c:if test="${hr.id==v.hrId}">
                    ${hr.name}
                </c:if>
            </c:forEach></span><span>招聘</span></p>
        </div>
    </div>
</c:forEach>
<input  id="companyId" type="hidden" value="${companyId}">
<div class="pageBox">
    <%@ include file="../../asset/common/page.jsp" %>
</div>
</body>
</html>
